package ucd.csi.comp30220.fall2011.oteop.airline;

import java.util.Date;

/**
 * Airlines own Flights. They connect to airports and say "Here's our flights for the next N 
 * days/months/years. Could you be a love and send them on their way when it's time? Thanks."
 * 
 * @author David Harrison
 */
public interface Airline {
    
    public static final String JMDNS_SUB_TYPE = "airline";
    
    public AirlineInfo getInfo() throws AirlineException;
    
    public void flightDeparted(
            String flightNumber, String airportCode, Date dateTime) throws AirlineException;
    
    public void flightLanded(
            String flightNumber, String airportCode, Date dateTime) throws AirlineException;
}
